﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.E.ERP.Domains.OutboundShipments
{
    /// <summary>
    /// 销售出库明细表
    /// </summary>
    public class OutboundDelivery
    {
        /// <summary>
        /// 出库id
        /// </summary>
        [Key]
        public int Outboundid { get; set; }
        /// <summary>
        /// 单据编码
        /// </summary>
        public string DocumentCode { get; set; }

        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime DocumentDate { get; set; }



        /// <summary>
        /// 单据状态
        /// </summary>
        public string DocumentStatus { get; set; }




        /// <summary>
        /// 单据类型
        /// </summary>
        public string DocumentType { get; set; }



        /// <summary>
        /// 操作员
        /// </summary>
        public int Operator { get; set; }



        /// <summary>
        /// 审核员
        /// </summary>
        public int Auditor { get; set; }



        /// <summary>
        /// 审核日期
        /// </summary>
        public DateTime AuditDate { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType { get; set; }


        /// <summary>
        ///业务部门(外键)
        /// </summary>
        public int Businessid { get; set; }


        /// <summary>
        ///业务人员
        /// </summary>
        public string BusinessSta { get; set; }


        /// <summary>
        ///期间
        /// </summary>
        public string Period { get; set; }




        /// <summary>
        /// 仓库(外键)
        /// </summary>
        public int Warehouseid { get; set; }



        /// <summary>
        /// 发货单号
        /// </summary>
        public string DeliveryOrder { get; set; }

        /// <summary>
        ///发货类型
        /// </summary>
        public string DeliveryType { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称(外键)
        /// </summary>
        public int Customerid { get; set; }


        /// <summary>
        /// 备注信息
        /// </summary>
        public string Customeinfo { get; set; }


    }
}
